import http from '@/utils/http'

export const hello = () => {
  return http.get('/hello')
}

export interface LoginFormValues {
  username: string
  password: string
  remember: boolean
}

export const login = (data: LoginFormValues) => {
  return http.post('/login', data)
}
